Release 10.1A: OpenEdge Development:
Messaging and ESB
setInitialConnectionTimeout procedure
Sets a time limit in seconds on the initial Fault tolerant connection attempt to the SonicMQ Broker.
Syntax
Applies to
Message objects
Notes
- Only for Fault Tolerant connections.
- The default is 30 seconds. The timeout value specifies the timeout in seconds. A timeout value of 0 indicates no timeout (that is, the connect will be attempted indefinitely).
- This procedure must be called before the beginSession procedure is called.
- The URLs specified in the setConnectionURLs procedure are used to attempt to connect to a SonicMQ Broker.
- If the time limit is reached without being able to connect, the application calls the Adapter error handler.
See also
setFaultTolerant procedure, getFaultTolerant function, isFaultTolerant function, createChangeStateConsumer procedure, setFaultTolerantReconnectTimeout procedure, getFaultTolerantReconnectTimeout function, setInitialConnectionTimeout procedure, getInitialConnectionTimeout function, setClientTransactionBufferSize procedure, getClientTransactionBufferSize function
For more information, see the "Fault tolerance" section and the "Fault tolerance" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |